
<{if $zxlibs}>
<input type="hidden" id="framebodyonly" value="1"/>
<div class="quick-actions_homepage">
	<ul class="quick-actions">
		<{if "tu"|in_array:$zxlibs}>
		<li class="bg_lb"> <a href="#myModal" class="tustart" data-toggle="modal"> <i class="icon-picture"></i> 图片库 </a> </li>
		<{/if}>
		<{if "tu"|in_array:$zxlibs}>
		<li class="bg_lg"> <a href="#myModal" class="videostart" data-toggle="modal"> <i class="icon-facetime-video"></i> 视频库</a> </li>
		<{/if}>
	</ul>
</div>
<div id="myModal" class="modal hide" style="width:982px; left:-491px; margin-left:50%">
	<div class="modal-header">
		<button data-dismiss="modal" class="close" type="button">×</button>
		<h3>文件资源库</h3>
	</div>
	<div class="modal-body" style="padding:0;max-height: none;">
		<iframe id="zxlibframe" src="" width="980" height="550" frameborder="0"></iframe>
	</div>
</div>
<script>
	$(function(){
		$(".tustart").click(function(){
			$("#zxlibframe").attr("src", "<{spUrl c=libstu a=datalist}>")
		});
		$(".videostart").click(function(){
			$("#zxlibframe").attr("src", "<{spUrl c=libsvideo a=datalist}>")
		});
	})
</script>
<{/if}>